package com.demo.design.behavioral.iterator;

public interface Iterator<T> {

    T getFirst();

    T getNext();

    T hasNext();

    T getLatest();
}
